toolbar: Fix compilation warnings - missing cast
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:26:23 +0000 (18:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:26:23 +0000 (18:26 +0200)
gtk/gtktoolbar.c

index bc91bff85e9fbc5a4914d54f3465f52e88e8cbd5..3a3d7af089583fc549dd4dfe5832afaff7f6f739 100644 (file)
@@ -3390,7 +3390,7 @@ toolbar_content_get_state (ToolbarContent *content)
 static gboolean
 toolbar_content_child_visible (ToolbarContent *content)
 {
-  return gtk_widget_get_child_visible (content->item);
+  return gtk_widget_get_child_visible (GTK_WIDGET (content->item));
 }
 
 static void